Node.js Express
Express - Node.js web application framework
Node.js API Masterclass With Express & MongoDB | Udemy
http moduleからはじめて、Postman をやり、
expressに入る。
#MongoDB も。
daemon化
foreverjs/forever: A simple CLI tool for ensuring that a given script runs continuously (i.e. forever)
logging
HTTP request logging in Node.JS | Bright Inventions
middlewareの利用
Using Express middleware
Middleware functions can perform the following tasks:
Execute any code.
Make changes to the request and the response objects.
End the request-response cycle.
Call the next middleware function in the stack.
next()の使い方
node.js - Express next function, what is it really for? - Stack Overflow
どの回答もわかりやすい。
Express middleware
logger, session管理、staticファイルの提供などの middlewareがある。
参考
Expressのよさを語る2018 - keroxpのScrapbox
Express JS Crash Course - YouTube
#Traversy_Media
#Node.js